{include file="public/header" /}
<body>
<div class="layui-fluid layui-anim layui-anim-fadein">
    <form action="{:url('save')}" class="layui-form" lay-filter="builderForm" data-token="{$builderTableToken}" data-nav="{$navTitle}" data-just="{$just}">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-row">
                    <input type="hidden" name="id" value="{$info.id}">
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">会员信息</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.user.code}-{$info.user.nickname}-{$info.user.mobile}"
                                       class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">提现账户</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.account}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">提现金额</label>
                            <div class="layui-input-block">
                                <input type="number" value="{$info.amount}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">手续费</label>
                            <div class="layui-input-block">
                                <input type="number" value="{$info.cost}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">实际到账金额</label>
                            <div class="layui-input-block">
                                <input type="number" value="{$info.real_amount}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">提现方式</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.mode}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    {if $info->getData('mode') == 'wechat'}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">真实姓名</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.wechat_name}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">{:get_pay_way('wechat')}收款码</label>
                            <div class="layui-input-block">
                                <a href="{$info.wechat_image}" target="_blank">
                                    <img src="{$info.wechat_image}" style="width: 150px" />
                                </a>
                            </div>
                        </div>
                    </div>
                    {elseif $info->getData('mode') == 'alipay'}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">真实姓名</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.alipay_name}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">{:get_pay_way('alipay')}收款码</label>
                            <div class="layui-input-block">
                                <a href="{$info.alipay_image}" target="_blank">
                                    <img src="{$info.alipay_image}" style="width: 150px" />
                                </a>
                            </div>
                        </div>
                    </div>
                    {elseif $info->getData('mode') == 'usdt'}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">USDT钱包类型</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.usdt_type}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">USDT钱包地址</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.usdt_address}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">USDT钱包收款码</label>
                            <div class="layui-input-block">
                                <a href="{$info.usdt_image}" target="_blank">
                                    <img src="{$info.usdt_image}" style="width: 150px" />
                                </a>
                            </div>
                        </div>
                    </div>
                    {else}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">银行名称</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.bank_name}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">开户姓名</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.bank_open_name}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">银行卡号</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.bank_number}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">开户行地址</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.bank_address}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    {/if}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">申请时间</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.create_time}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            {if $info->getData('status') == 1}
                            <label class="layui-form-label">审核</label>
                            <div class="layui-input-block">
                                <input type="radio" name="status" value="2" title="通过" checked>
                                <input type="radio" name="status" value="3" title="驳回">
                            </div>
                            {else}
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.status_name}" class="layui-input" readonly>
                            </div>
                            {/if}
                        </div>
                    </div>
                    {if $info->getData('status') != 2}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">驳回原因</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" name="reject_msg" placeholder="如要驳回请填写驳回原因">{$info.reject_msg?:''}</textarea>
                            </div>
                        </div>
                    </div>
                    {/if}
                    {if $info->getData('status') > 1}
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">审核时间</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.examine_time?:''}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">审核人</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.admin_name?:''}" class="layui-input" readonly>
                            </div>
                        </div>
                    </div>
                    {/if}
                </div>
                {if $info->getData('status') == 1}
                {include file="public/submit" /}
                {/if}
            </div>
        </div>
    </form>
</div>
</body>
{include file="public/footer" /}
<script>
    layui.use(['edit'], function () {
        layui.edit.render();
    });
</script>
</html>